package com.example.spirngsource.config;

/*
 * @author zzr
 * @date: 2025/10/10  15:30
 * @description:
 */

import com.example.spirngsource.entity.Dog;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DogBeanConfig {
    @Bean
    public Dog dog() {
        Dog dog = new Dog();
        dog.setName("小黄");
        return dog;
    }
}
